package cn.darkhorse.device.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 备件类型
 * </p>
 *
 * @author maoguanjun
 * @since 2022-11-11
 */
@Getter
@Setter
  @TableName("mes_spare_type")
@ApiModel(value = "MesSpareType对象", description = "备件类型")
public class MesSpareType implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("备件类型编码")
      private String code;

      @ApiModelProperty("备件类型名称")
      private String name;

      @ApiModelProperty("创建人")
      private Long creator;

      @ApiModelProperty("创建时间")
      private LocalDateTime gmtCreate;

      @ApiModelProperty("修改时间")
      private LocalDateTime gmtModify;


}
